<!DOCTYPE html>
<html lang="en" xmlns:height="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>DATA DISCOVERY</title>
    <link rel="stylesheet" type="text/css" href="resources/default/css/common/common.css" />
    <link rel="stylesheet" type="text/css" href="resources/default/css/library.css" />
    <link rel="stylesheet" type="text/css" href="resources/default/css/basic.css">
        <link rel="stylesheet" type="text/css" href="resources/default/css/chart/sankey.css">
    <link rel="stylesheet" type="text/css" href="resources/default/css/governance.css">
</head>
<style>
        body{
            width:1920px;
            
        }
        .mapping-list-line{
            overflow-x: hidden;
        }
        ::-webkit-scrollbar {
            width: 0px;
            height: 0px;
            background-color: #F0F2F5;
        }
    </style>
<body>
<header>
        <div class="header-con cf">
            <a class="header-logo" href="../../Analytics/portal.html"></a>
            <!--头部下拉链接-->

            <div class="header-other center-layer">
                <span class="icon-header icon-header-user"></span>
                <div class="login-filed">
                    <div class="icon-annouce"> </div>
                </div>
                <a class="user-info">
                    <div class="user-name">
                        <span class="username">10011</span>
                        <div class="icon-header icon-help"> </div>
                    </div>
                </a>
            </div>
            <div class="header-nav">
                <ul>
                    <li>
                        <a href="../index1.html">Home</a>
                    </li>
                    <li>
                        <a href="../views/logicalOnly.html">Data Monitoring</a>
                    </li>
                    <li><a href="../poc/poc/poc-data.html">Data Modeling</a></li>
                    <li class="selected"><a href="">Data Integration</a></li>
                </ul>
            </div>
        </div>
</header>
<div class="container mapping">
    <ul class="big-tab cf mt40">
            <a href="dataSource.html">
                <li class="tab-data-icon01">Data Source</li>
            </a>
            <a href="selectDataSource.html">
                <li class="tab-list-on tab-data-icon tab-data-icon02">Schema Mapping</li>
            </a>
            <a href="dataIntergration.html">
                <li class="tab-data-icon tab-data-icon03">Data Integration</li>
            </a>
        </ul>
    <div class="step-line" style="margin-top:40px;">
            <div class="step-line">
                <div class="step-line-bar" style="width:83%"></div>
            </div>
            <ul class="step-progress">
                <li class="select">
                     <div class="step-icon"></div>
                     <div class="step-text">Select Data Source</div>
                </li>
                <li class="select">
                     <div class="step-icon"></div>
                     <div class="step-text">Standardization</div>
                </li>
                <li class="select">
                     <div class="step-icon"></div>
                     <div class="step-text">Mapping</div>
                </li>
            </ul> 
    </div>
    <div class="container-sys positionR" style="min-height:840px;margin-top:70px;background: #fff;padding: 0 20px;">
        <div class="library-list">
            <div class="library-list-btn">
                <div class="list-btn-left pull-left">                    
                    <div class="list-button  btn-9 pull-left"></div>
                    <div class="list-button  btn-11 pull-left" onClick="window.location.href='mapping.html'"></div>
                    <div class="list-button  btn-10 pull-left" onClick="window.location.href='mappingAttritube.html'"></div>
					<div class="list-button  btn-13 pull-left" onClick="window.location.href='dataIntergration.html?hasdata=1'"></div>

                </div>
                <div class="list-btn-right pull-right mapping-list-search">
                    <ul>
                    	<li>Mapping</li>
                    	<li><span></span>>=75%</li>
                    	<li><span style="height:7px; top: -2px;"></span>75%~50%</li>
                    	<li><span style="height:5px; top: -3px;"></span>50%~25%</li>
                    	<li><span style="height:2px;top: -4px;"></span><=25%</li>
                    </ul>
                </div>
                <div class="standardization-list-search-detail">
                	<ul>
                    	<li>Source</li>
                        <li><span></span>CRM</li>
                        <li><span></span>CBS</li>
                        <li><span></span>Campaign</li>
                        <li><span></span>Channel</li>
                        <li><span></span>Operation support</li>
                        <li><span></span>VAS</li>
                        <li><span></span>Ps</li>
                        <li><span></span>Cs</li>
                        <li><span></span>Log</li>
                        <li><span></span>BSC</li>
                    </ul>
                	<ul>
                    	<li>Domain</li>
                        <li><span></span>Participate</li>
                        <li><span></span>Resource</li>
                        <li><span></span>Event</li>
                        <li><span></span>Finance</li>
                        <li><span></span>Offering</li>
                        <li><span></span>Management</li>
                        <li><span></span>Marketing</li>
                    </ul>
                	<ul>
                    	<li>Data Type</li>
                        <li><span></span>String</li>
                        <li><span></span>Text</li>
                        <li><span></span>Number</li>
                    </ul>
                	<ul>
                    	<li>Probability</li>
                        <li value="100"><span></span>100%-75%</li>
                        <li value="75"><span></span>75%-50%</li>
                        <li value="50"><span></span><50%</li>
                    </ul>
                </div>
            </div>

        </div>
        <div class="standardization-filter">
			<div class="list-search-left"><span></span><input type="text" value="Search" id="dataListSearch"/></div>
            <div class="tabContainer">
            	<ul class="tabItem">
                	<li class="tabItemTitle selected">Filters</li>
                	<li class="tabItemTitle">Columns</li>
                </ul>
                <div class="tabContent" content="Filters">
                    <ul>
                    	<li class="selected">
                        	<span>Domain</span>
                            <ul>
                            	<li class="t1">
                                	<span></span>Participate
                                </li>
                            	<li class="t1">
                                	<span></span>Resource
                                </li>
                            	<li class="t1">
                                	<span></span>Event
                                </li>
                            	<li class="t1">
                                	<span></span>Finance
                                </li>
                            	<li class="t1">
                                	<span></span>Offering
                                </li>
                            	<li class="t1">
                                	<span></span>Management
                                </li>
                            	<li class="t1">
                                	<span></span>Marketing
                                </li>
                            </ul>
                        </li>
                    	<li>
                        	<span>Mapping Model</span>
                            <ul>
                            	<li class="t1">
                                	<span></span>1 to 1
                                </li>
                            	<li class="t1">
                                	<span></span>1 to N
                                </li>
                            	<li class="t1">
                                	<span></span>N to 1
                                </li>
                            </ul>
                        </li>
                    	<li>
                        	<span>Location</span>
                            <ul>
                            	<li class="t1">
                                	<span></span>HIVE
                                </li>
                            	<li class="t1">
                                	<span></span>HBase
                                </li>
                            	<li class="t1">
                                	<span></span>Oracle
                                </li>
                            	<li class="t1">
                                	<span></span>MPP
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="list-table mapping-list"> 
        	<!--left start-->
        	<div class="mapping-list-left">
                <h2><span></span>Source</h2>
                <div class="mapping-list-thead">
                    <table style="border-collapse: collapse;" width="100%" id="dataList">
                        <thead>
                            <tr>
                                <th width="250px">Entity</th>
                                <th width="135px">Records</th>
                                <th width="">Location</th>
                            </tr>
                        </thead>
                    </table>
                </div>
                <div class="mapping-list-tbody">
                    <table style="border-collapse: collapse;" width="100%" id="dataList">
                        <tbody>
                            <tr>
                                <td class="t1" width="250px" ><a>BB_SERVICE_RELATION_T</a></td>
                                <td class="t2" width="135px">99,342,768</td>
                                <td class="t3">Oracle</td>                       
                            </tr>
                            <tr>
                                <td class="t1" title ="" ><a>BFC_SERVICE_CREDIT_T</a></td>
                                <td class="t2">3,343,387</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1" title =""><a>TF_F_USER</a></td>
                                <td class="t2">21,536,766</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>TF_F_ACCOUNT</a></td>
                                <td class="t2">73,343,655</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>BB_BUNDLE_RELATION_T</a></td>
                                <td class="t2">34,332</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>TF_F_RELATION_UU</a></td>
                                <td class="t2">433,819</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>CM_CREDIT_BLACKLIST_T</a></td>
                                <td class="t2">2,325</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>BB_GROUP_USER_INFO_T</a></td>
                                <td class="t2">233,151</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>TF_F_CUST_GROUPMEMBER</a></td>
                                <td class="t2">343,221</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>BB_USER_PRODUCT_INFO_T</a></td>
                                <td class="t2">93,223,229</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>TF_F_USER_PRODUCT</a></td>
                                <td class="t2">89,172,334</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>CM_PT_USER_POINT_T</a></td>
                                <td class="t2">73,334,433</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>BB_CUSTOMER_INFO_T</a></td>
                                <td class="t2">43,224,675</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>CM_IND_CUST_T</a></td>
                                <td class="t2">454,333</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>TF_F_CUST_PERSON</a></td>
                                <td class="t2">94,543,332</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>BB_GROUP_INFO_T</a></td>
                                <td class="t2">238,322</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>CM_CUST_ADDRESS_T</a></td>
                                <td class="t2">94,433,227</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>PARTY_BASIC_INFO_T</a></td>
                                <td class="t2">8,362</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>TD_B_PARTY</a></td>
                                <td class="t2">43,322</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>TF_F_UNION_MERCHANT</a></td>
                                <td class="t2">35,738</td>
                                <td class="t3">Oracle</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 
                            <tr>
                                <td class="t1"></td>
                                <td class="t2"></td>
                                <td class="t3"></td>                       
                            </tr> 

                        </tbody>
                    </table>
                </div>
                <div class="mapping-list-tbody-scroll scrollbar">
                    <div></div>
                </div>
            </div>
            <!--left end-->
            
            <!--center start-->
            <div class="mapping-list-center">
            	<h2>Mapping</h2>
                <div class="mapping-list-line">
                	<!-- <div>
                    	<img src="../resources/default/images/governance/mapping-line.png" width="298" height="661">
                    </div> -->
                </div>
            </div>
            <!--center end-->
            
            <!--right start-->
            <div class="mapping-list-right">
            	<h2><span></span>Target</h2>
                <div class="mapping-list-thead">
                    <table style="border-collapse: collapse;" width="100%" id="dataList">
                        <thead>
                            <tr>
                                <th width="200px">Entity(Mapped/Total)</th>
                                <th width="180px">Domain > Sub-domain</th>
                                <th width="">Location</th>
                            </tr>
                        </thead>
                    </table>
                </div>
                <div class="mapping-list-tbody scrollbar">
                    <table style="border-collapse: collapse;" width="100%" id="dataList">
                        <tbody class="scrollbar">
                            <tr>
                                <td class="t1" width="200px"><a>td_su_subscriber_d</a></td>
                                <td class="t2" width="180px">Offering > Subscriber</td>
                                <td class="t3">HDFS</td>                       
                            </tr>
                            <tr>
                                <td class="t1"><a>td_su_subs_rela_d</a></td>
                                <td class="t2">Offering > Subscriber</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_su_credit_blacklist_d</a></td>
                                <td class="t2">Offering > Subscriber</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_su_group_subscriber_d</a></td>
                                <td class="t2">Offering > Subscriber</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_su_subs_proudct_d</a></td>
                                <td class="t2">Offering > Subscriber</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_su_grp_subs_product_d</a></td>
                                <td class="t2">Participate > Customer</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_cu_cust_info_d/m</a></td>
                                <td class="t2">Participate > Customer</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_cu_person_info_d/m</a></td>
                                <td class="t2">Participate > Customer</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_cu_group_info_d/m</a></td>
                                <td class="t2">Participate > Customer</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_cu_cust_addr_info_d/m</a></td>
                                <td class="t2">Participate > Customer</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_cu_cust_cont_info_d/m</a></td>
                                <td class="t2">Participate > Customer</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_par_partner_basic_info_m</a></td>
                                <td class="t2">Participate > Partner</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            <tr>
                                <td class="t1"><a>td_par_union_merchant_m</a></td>
                                <td class="t2">Participate > Partner</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 


                           <tr>
                                <td class="t1"><a>tb_bu_prod_order_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 



                            <tr>
                                <td class="t1"><a>tb_bu_sms_hall_up_log_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>td_bu_serv_prodt_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 


                            <tr>
                                <td class="t1"><a>tb_sp_serv_order_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 



                            <tr>
                                <td class="t1"><a>tb_sp_usr_promo_order_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>tb_bu_group_prodt_order_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 


                            <tr>
                                <td class="t1"><a>tb_bu_video_list_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 



                            <tr>
                                <td class="t1"><a>tb_bu_usr_mailrecv_list_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>tb_bu_net_mall_vas_dtl_m</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>tb_bu_hand_mall_vas_dtl_m</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 



                            <tr>
                                <td class="t1"><a>tb_bu_pay_record_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>tb_bu_usr_mailsend_list_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 


                            <tr>
                                <td class="t1"><a>tb_bu_resource_marketing_spes_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 



                            <tr>
                                <td class="t1"><a>tb_bu_res_exchg_dtl_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>tb_bu_upg_busi_log_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 


                            <tr>
                                <td class="t1"><a>tb_bu_buy_card_dtl_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 



                            <tr>
                                <td class="t1"><a>tb_bu_serv_usr_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>tb_bu_sms_hall_down_log_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 



                            <tr>
                                <td class="t1"><a>tb_bu_serv_exchg_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>tb_bu_webhall_pay_log_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 


                            <tr>
                                <td class="t1"><a>tb_sp_usr_feepolicy_order_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 



                            <tr>
                                <td class="t1"><a>tb_bu_mobile_pay_log_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 

                            <tr>
                                <td class="t1"><a>tb_bu_prod_sale_dtl_d</a></td>
                                <td class="t2">Event > Service Log</td>
                                <td class="t3">HDFS</td>                       
                            </tr> 
                            
                        </tbody>
                    </table>
                </div>
            </div>
            <!--right end-->
        </div>
        <!--<div class="page-list pull-right">
            <span class="page-before"></span>
            <div class="page-numbers">
                <div class="page-number hover">1</div>
                <div class="page-number">2</div>
                <div class="page-number">3</div>
                <div class="page-number">4</div>
                <div class="page-number">5</div>
                <div class="page-number">...</div>
                <div class="page-number">16</div>
            </div>
            <span class="page-next"></span>
            <div class="page-jump">
                <span class="jump-text">go to </span>
                <input type="text"value="11" id="page-goto"/>
                <span class="jump-btn"></span>
            </div>
        </div>-->
        <div class="clearB"></div>
    </div>
</div>
<div class="footer">
        <div class="container-sys">
            <label class="copyright">
                Copyright © Huawei Technologies Co., Ltd. 1998-2015. All rights
            </label>
            <label class="function">
                <ul>
                    <li>Latest news</li>
                    <li>DOCS</li>
                    <li>Developer service</li>
                    <li>Contact us</li>
                </ul>
            </label>
        </div>
    </div>
</body>
<script src="js/jquery.js"></script>
<script src="js/chart/1/jquery-1.11.3.js"></script>
    <script src="js/chart/1/Sankey.js"></script>
    <script src="js/chart/1/data.js"></script>
    <script src="js/chart/1/MyD3.js"></script>
<script>	
	function cancelBubbles(){
		if (window.event) {
			// this code is for IE 
			event.cancelBubble = true; 
		}else{
			// this code is for Mozilla and Opera 
			event.stopPropagation(); 
		}
	}
	
	//查询&&过滤
	function filterData(){
		var hasFilter=false,hast2=false,hast3=false,hast5=false;
			var source = [],domain=[],dataType=[],probability=[];
			$(".standardization-list-search-detail ul").eq(0).find("span.check").each(function(index, element) {
                source.push($(element).parent().text());
            });
			$(".standardization-list-search-detail ul").eq(1).find("span.check").each(function(index, element) {
                domain.push($(element).parent().text());
            });
			$(".standardization-list-search-detail ul").eq(2).find("span.check").each(function(index, element) {
                dataType.push($(element).parent().text());
            });
			$(".standardization-list-search-detail ul").eq(3).find("span.check").each(function(index, element) {
                probability.push($(element).parent().attr("value"));
            });
			$("#dataList").find("tbody > tr").each(function(index, element) {
				var display = false;
				var t2 = $(element).find(".t2").text();
				var t3 = $(element).find(".t3").text();
				var t5 = $(element).find(".t5").text().trim().substring(0,$(element).find(".t5").text().trim().length-1);
				if(source.length == 0){
					hast2 = true;
				}else{
					for(i in source){
						if(t2.indexOf(source[i]) != -1){
							hast2 = true;
							break;
						}
					}
				}
				if(dataType.length == 0){
					hast3 = true;
				}else{
					for(i in dataType){
						if(t3.indexOf(dataType[i]) != -1){
							hast3 = true;
							break;
						}
					}
				}
				var probabilityCount=0;
				for(i in probability){
					probabilityCount += parseInt(probability[i]);
				}
				if(probabilityCount == 0){
					hast5 = true;
				}else if(probabilityCount == 50){
					if(t5 < 50){
						hast5 = true;
					}
				}else if(probabilityCount == 75){
					if(!(t5 < 50 || t5 > 75)){
						hast5 = true;
					}
				}else if(probabilityCount == 100){
					if(!(t5 < 75 || t5 > 100)){
						hast5 = true;
					}
				}else if(probabilityCount == 125){
					if(t5 <= 75){
						hast5 = true;
					}
				}else if(probabilityCount == 150){
					if(t5 <= 50 || t5>=75){
						hast5 = true;
					}
				}else if(probabilityCount == 175){
					if(t5>=75){
						hast5 = true;
					}
				}else if(probabilityCount == 225){
					hast5 = true;
				}
				if(hast2 && hast3 && hast5){
					$(element).removeClass("displayN");
				}else{
					$(element).addClass("displayN");
				}
			/*var value = $(element).find("." + column).text().trim();
				if(column == "t5"){
					value = value.substring(0,value.length-1);
					if(keyWord.length == 0){
						return;
					}else if(keyWord.length == 1){
						if(value < parseInt(keyWord[0].substring("1"))){
							
							$(element).removeClass("displayN");
						}else {
							$(element).addClass("displayN");
						}
					}else{
						if(parseInt(keyWord[0]) < value || parseInt(keyWord[1]) > value){
							$(element).addClass("displayN");
						}else {
							$(element).removeClass("displayN");
						}
					}
				}else{
					if(value.indexOf(keyWord) == -1){
						$(element).addClass("displayN");
					}else {
						$(element).removeClass("displayN");
					}
				}*/
				
			});
	}
	$(function() {
                    var svg = new UCD.Sankey('.mapping-list-line', {json : Sankey_data});      
                    svg.init();

		$("tbody .t6").empty().append('<span class="btn_confirm"></span><span class="btn_delete"></span><span class="btn_hand"></span>');
        $("thead th").hover(
                function () {
                    $(this).addClass("hover");
                },
                function () {
                    $(this).removeClass("hover");
                }
        );
        $("table tr").hover(
                function () {
                    $(this).addClass("hover");
                },
                function () {
                    $(this).removeClass("hover");
                }
        );
        $("table tr").click(function(){
            $(this).children().children("span").toggleClass("check");
            //alert($(this).children(".t1"))
            //console.log($(this).child(t1));
        })

         $("tbody tr:odd").addClass("ba-color-f");
         $("tbody tr:even").addClass("ba-color");
        /*$("thead tr th").hover(function(){
                 $(this).find("b").addClass("up");
            },
            function(){
                $(this).find("b").removeClass("up");
        })*/
		
		$(".tabContent > ul > li").each(function(index, element) {
            $(element).click(function(){
				$(element).toggleClass("selected");
			})
        });
		$(".tabContent > ul > li > ul > li").each(function(index, element) {
             $(element).click(function(){
				cancelBubbles();
				$(element).children("span").toggleClass("check");
			})
        });
		
		//过滤
		$(".standardization-list-search-detail li").each(function(index, element) {
			$(element).click(function(){
				$(element).children("span").toggleClass("check");				
				filterData();
			})
        });
		
		$(".standardization-list-search").click(function(){
			$(this).parent().toggleClass("selected");
		});
		
		var contentHeight = $(".mapping-list-tbody-scroll").parent().children(".mapping-list-tbody").find("table").height();
		$(".mapping-list-tbody-scroll > div").height(contentHeight);
		$(".mapping-list-line div").height(contentHeight);
		
		var eleLeft = $(".mapping-list-left .mapping-list-tbody"),
			eleLeftScroll = $(".mapping-list-left .mapping-list-tbody-scroll"),
			eleRight = $(".mapping-list-right .mapping-list-tbody"),
			eleCenter = $(".mapping-list-line");
		eleLeft.scroll(function(e) {
            eleRight.scrollTop(eleLeft.scrollTop());
			eleCenter.scrollTop(eleLeft.scrollTop());
			eleLeftScroll.scrollTop(eleLeft.scrollTop());
        });
		eleRight.scroll(function(e) {
            eleLeft.scrollTop(eleRight.scrollTop());
			eleCenter.scrollTop(eleRight.scrollTop());
			eleLeftScroll.scrollTop(eleRight.scrollTop());
        });
		eleLeftScroll.scroll(function(e) {
            eleLeft.scrollTop(eleLeftScroll.scrollTop());
            eleRight.scrollTop(eleLeftScroll.scrollTop());
            eleCenter.scrollTop(eleLeftScroll.scrollTop());
        });
		eleCenter.scroll(function(e) {
            eleLeft.scrollTop(eleCenter.scrollTop());
            eleRight.scrollTop(eleCenter.scrollTop());
			eleLeftScroll.scrollTop(eleCenter.scrollTop());
        });
		
		// $(".mapping-list-left tbody tr").click(function(){
		// 	window.location.href = 'mappingAttritube.html';	
		// });

        $("#Sankey_0 rect").click(function(){
            window.location.href = 'mappingAttritube.html'; 
        });

    })
</script>
<script type="text/javascript" src="../js/headDrop.js"></script>
</html>